﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl-BE" lang="nl-BE">
<head profile="http://www.w3.org/2000/08/w3c-synd/#">

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="" />

    <base href="<?php echo BASE; ?>" />
    
    <title>Swoep - <?php echo $pageTitle; ?></title>
    
    <!-- facebook meta -->
    <meta name="title" content="Swoep - ontwerp iets voor jezelf!" />
    <meta name="description" content="Ontwerp nu zélf jouw borden, V-borden en spandoeken en dat op basis van leuke figuren, eigen foto's of onze ontwerpen. Toon de ganse buurt wat er te vieren valt of versier je feest helemaal zelf!" />
    <link rel="image_src" href="<?php echo BASE; ?>images/swoepuil.jpg" />
    <!-- end facebook meta -->

    <link rel="stylesheet" type="text/css" href="<?php echo RELPATH; ?>template/1/css/style.css" />
<?php
if ( isset ( $css ) && is_array( $css ) && !empty ( $css ) ) {
    foreach ( $css as $file ) {
        echo "\t" . '<link rel="stylesheet" type="text/css" href="' . CSSPATH . $file . '" />' . "\n";
    }
}
?>

    <script type="text/javascript" src="<?php echo JSPATH; ?>prototype.js"></script>
    <script type="text/javascript" src="<?php echo JSPATH; ?>scriptaculous.js"></script>
    <script type="text/javascript" src="<?php echo JSPATH; ?>main.js"></script>
    
<script type="text/javascript" src="<?php echo JSPATH; ?>jquery-1.4.2.min.js"></script>
<script type="text/javascript"> 
    function toggle() {
    var ele = document.getElementById("lang_menu");
    var text = document.getElementById("lang_button");
    if(ele.style.display == "block") {
            ele.style.display = "none";
    }
    else {
        ele.style.display = "block";
    }
} 
</script>

<?php
if ( isset ( $javascript ) && is_array( $javascript ) && !empty ( $javascript ) ) {
    foreach ( $javascript as $file ) {
        echo "\t" . '<script type="text/javascript" src="' . JSPATH . $file . '"></script>' . "\n";
    }
}
?>


</head>

<body>

    <div class="iecenter">
    <div id="wrapper">
    
        <div id="header">
        
            <a href="<?php echo RELPATH; ?>" id="home_link"></a>
        
            <div id="hello"><?php echo $loginbox; ?></div>
            <div id="cart_amount">(<span id="header_cart_items"><?php echo $winkelwagentje->getAmount() ?></span>)</div>
            <?php if ( $winkelwagentje->getAmount() > 0 ) { ?>
            <a href="cart" id="cart_link"></a>
            <?php } ?>
            <div id="current_lang"><?php echo strtoupper( $locale->getCurrentTaal( ) ); ?></div>			
            
            
            <!--<a id="lang_button" href="javascript:toggle();"></a> --> 
            <div id="lang_menu" style="display: none">
                <?php
                foreach ( array_unique ( $locale->getTalen( ) ) as $taal ) {
                    if ( $taal != $locale->getCurrentTaal( ) ) {
                        echo '<div class="lang"><a href="language/' . $taal . '/">' . strtoupper( $taal ) .'</a></div>';
                    }
                }
                ?>
            </div>
             
        </div>
        
        <ul id="navigation">
            <li><a href="templates" class="readymade">Ready made</a></li>
            <li><a href="design" class="design">Design</a></li>
            <li><a href="pictures" class="inactie">In actie</a></li>
        </ul>
        
        <div id="navigation_filler"></div>